{{extend 'layout.html'}}
{{=H1(request.args[0].replace('_',' ').capitalize())}}
{{=form}}

{{if request.args[0] == 'login':}}
    {{=A('register', _href=URL(r=request, f='user/register'))}} <br />
    {{=A('lost password?', _href=URL(r=request, f='user/retrieve_password'))}} <br />
{{pass}}